package com.tee.live.im.core.server.service.impl;

import com.tee.im.dto.ImMsgBody;
import com.tee.live.im.core.server.service.IMsgAckCheckService;
import jakarta.annotation.Resource;
import org.springframework.data.redis.core.StringRedisTemplate;

/**
 * @author tee
 * @date 2025/11/3
 */
public class MsgAckCheckServiceImpl implements IMsgAckCheckService {


    @Resource
    private StringRedisTemplate redisTemplate;

    /**
     * 处理消息ack,主要是客户端发送ack包给服务端后,调用进行ack记录的移除
     *
     * @param msgBody
     */
    @Override
    public void doMsgAck(ImMsgBody msgBody) {
//        redisTemplate.delete();
    }

    @Override
    public void recordMsgAck(ImMsgBody msgBody, int times) {

    }


}
